//
//  ZYImageDecoderFactory.h
//  ZYWebImage
//
//  Created by wangzhipan on 2025/3/6.
//

#import <Foundation/Foundation.h>
#import "IZYDecoder.h"
#import "IZYImageCacheProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@interface ZYImageDecoderFactory : NSObject
+ (nullable id<IZYDecoder>)createDecoderForData:(NSData *)data;
+ (id<IZYDecoder>)createDecoderForData:(NSData *)data format:(ZYImageFormat)format;
@end

NS_ASSUME_NONNULL_END
